<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${slideAd.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">提示：</label>
                            <div class="col-sm-8">
                                <input id="alt" name="alt" th:value="${slideAd.alt}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">log号：</label>
                            <div class="col-sm-8">
                                <input id="clog" name="clog" th:value="${slideAd.clog}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">无：</label>
                            <div class="col-sm-8">
                                <input id="ext1" name="ext1" th:value="${slideAd.ext1}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">网址：</label>
                            <div class="col-sm-8">
                                <input id="href" name="href" th:value="${slideAd.href}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">log等级：</label>
                            <div class="col-sm-8">
                                <input id="logv" name="logv" th:value="${slideAd.logv}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">大图url：</label>
                            <div class="col-sm-8">
                                <input id="src" name="src" th:value="${slideAd.src}" class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">大图片：</label>
                            <div class="col-sm-8">
                                <img th:src=" ${slideAd.src}" width="230" height="100">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">小图url：</label>
                            <div class="col-sm-8">
                                <input id="srcb" name="srcb" th:value="${slideAd.srcb}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">小图片：</label>
                            <div class="col-sm-8">
                                <img th:src="${slideAd.srcb}" width="160" height="70">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">状态：</label>
                            <div class="col-sm-8">
                                <select id="status" name="status" class="form-control">
                                    <option value="1" th:selected="${slideAd.status eq 1}">正常</option>
                                    <option value="2" th:selected="${slideAd.status eq 2}">下架</option>
                                </select>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">排序：</label>
                            <div class="col-sm-8">
                                <input id="sortOrder" name="sortOrder" th:value="${slideAd.sortOrder}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">log记录网址前缀：</label>
                            <div class="col-sm-8">
                                <input id="logdomain" name="logdomain" th:value="${slideAd.logdomain}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/system/slideAd/edit.js">
</script>
</body>
</html>
